﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using POS.BusinessEntities;

namespace POS.UI
{
    public partial class ReportViewerForm : Form
    {
        public ReportViewerForm()
        {
            InitializeComponent();
        }

        private void ReportViewerForm_Load(object sender, EventArgs e)
        {
            DataSet1 ds = new DataSet1();
            ds.Sucursal.AddSucursalRow("Mall Internacional", "GAM");
            ds.Sucursal.AddSucursalRow("Mall San Pedrio", "GAM");
            ds.Sucursal.AddSucursalRow("La Fortuna", "San Carlos");

            //reportViewer1.DataBindings.Add(new Binding("id", ds.Sucursal, "adios")); 
            this.reportViewer1.RefreshReport();
        }
    }
}
